import { get, post} from "../api"

//获取
export const getInfo = data => get('/bmj-api/api/ums/umsUsers/getMemberServiceInfo', data)

//添加企业名片
export const addCompanyBusinessCard = data => post('/bmj-api/api/cms/cmsBusinessCard/addCompanyBusinessCard',data)

//取消收藏企业名片
export const cancelCollectCompanyBusinessCard = data => post('/bmj-api/api/cms/cmsBusinessCard/cancelCollectCompanyBusinessCard',data)

//收藏企业名片
export const collectCompanyBusinessCard = data => post('/bmj-api/api/cms/cmsBusinessCard/collectCompanyBusinessCard',data)

//企业用户名片分页列表
export const companyBusinessCardPageList = data => get('/bmj-api/api/cms/cmsBusinessCard/companyBusinessCardPageList', data)

//企业名片详情
export const getCompanyBusinessCardInfo = data => get('/bmj-api/api/cms/cmsBusinessCard/getCompanyBusinessCardInfo', data)

//我的企业名片收藏列表
export const collectList = data => get('/bmj-api/api/cms/cmsBusinessCard/queryMyCompanyBusinessCardCollectList', data)

//分享名片
export const shareBusinessCard = data => post('/bmj-api/api/cms/cmsBusinessCard/shareBusinessCard',data)

//解除公司名片绑定
export const updateCompanyBusinessCardBind = data => post('/bmj-api/api/cms/cmsBusinessCard/updateCompanyBusinessCardBind',data)

//修改企业名片
export const updateCompanyBusinessCardInfo = data => post('/bmj-api/api/cms/cmsBusinessCard/updateCompanyBusinessCardInfo',data)

//修改企业用户名片置顶状态
export const updateCompanyBusinessCardTopStatus = data => post('/bmj-api/api/cms/cmsBusinessCard/updateCompanyBusinessCardTopStatus',data)
